// ============================== 导入依赖 ============================== //

import API from '@admin/views/Monitor/Elec/ElecOverview/BottomTemperature/store/API'
import { transList } from '@admin/views/Monitor/Elec/ElecOverview/BottomTemperature/store/actions'

// ============================== 导出异步调用 ============================== //

export default {
  // —————————————————————————————— 列表 —————————————————————————————— //

  async remoteList({ state: { param, MAP } }) {
    const [num, arr] = await API.getList(param, `查询${MAP.TITLE}`)
    return [num, transList(arr)]
  },
}
